//
//  CommonPickerCell.swift
//  EyeVisionForDoctors
//
//  Created by PMC on 2020/3/2.
//  Copyright © 2020 tao Tao. All rights reserved.
//

import UIKit

class CommonPickerCell: UITableViewCell {

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        titleLabel.textColor = selected ? .main : .textDark
    }
    
    func configure(with model: CommonPickerModel) {
        titleLabel.text = model.name
    }
    
    @IBOutlet private weak var titleLabel: UILabel!
    
}
